package com.siants.girl.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author yanxin
 * @create 2018/12/4
 * @since 1.0.0
 */
@Controller
public class HelloIndexController {

    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String say(){
        //return "Hello Spring Boot!";
        return "index";
    }
}
